- Preparing search index...
- The search index is not available
elixr
Constructors
constructor
- new PhysicsMaterial(__namedParameters?: {
bounciness: number;
bouncinessCombine: CoefficientCombineRule;
density: number;
friction: number;
frictionCombine: CoefficientCombineRule;
}): PhysicsMaterial
-
Parameters
-
__namedParameters: {
bounciness: number;
bouncinessCombine: CoefficientCombineRule;
density: number;
friction: number;
frictionCombine: CoefficientCombineRule;
} = {}
-
bounciness: number
-
bouncinessCombine: CoefficientCombineRule
-
density: number
-
friction: number
-
frictionCombine: CoefficientCombineRule
Accessors
bounciness
- get bounciness(): number
-
Returns number
- set bounciness(value: number): void
-
Returns void
bouncinessCombine
- get bouncinessCombine(): CoefficientCombineRule
-
Returns CoefficientCombineRule
- set bouncinessCombine(value: CoefficientCombineRule): void
-
Parameters
-
value: CoefficientCombineRule
Returns void
density
- get density(): number
-
Returns number
- set density(value: number): void
-
Returns void
friction
- get friction(): number
-
Returns number
- set friction(value: number): void
-
Returns void
frictionCombine
- get frictionCombine(): CoefficientCombineRule
-
Returns CoefficientCombineRule
- set frictionCombine(value: CoefficientCombineRule): void
-
Parameters
-
value: CoefficientCombineRule
Returns void