Prototype of the PhysicsCollider3D Quantum component.
More...
Inherits Quantum.ComponentPrototype< Quantum.PhysicsCollider3D >.
Prototype of the PhysicsCollider3D Quantum component.
◆ AddToEntity()
| sealed override bool Quantum.Prototypes.PhysicsCollider3DPrototype.AddToEntity |
( |
FrameBase |
f, |
|
|
EntityRef |
entity, |
|
|
in PrototypeMaterializationContext |
context |
|
) |
| |
|
inline |
Creates an instance of the PhysicsCollider3D component, materializes and adds it to the entity.
- Parameters
-
- Returns
- Returns
true if adding the component to the entity succeeds.
◆ Materialize()
Applies the prototype's fields to the actual component.
◆ ShapeConfig
| Shape3DConfig Quantum.Prototypes.PhysicsCollider3DPrototype.ShapeConfig |
The definition of the physics collider's shape.
◆ Layer
| int Quantum.Prototypes.PhysicsCollider3DPrototype.Layer = 0 |
The physics collider's layer.
◆ IsTrigger
| bool Quantum.Prototypes.PhysicsCollider3DPrototype.IsTrigger = false |
Set to true to make the physics collider a trigger collider.
◆ PhysicsMaterial
The physics collider's physics material asset.