VectorShapeData
Inherits from BaseShapeData
Summary
Constructors
| VectorShapeData() |
| VectorShapeData(guid: Guid) |
| VectorShapeData(other: BaseShapeData) |
| VectorShapeData(other: GameObjectData) |
| VectorShapeData(other: GameDataContainer) |
| VectorShapeData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| points | Vec3[] |
| normals | Vec3[] |
| tension | float |
| isClosed | bool |
| allowRoll | bool |
Static members
| Name | Type |
|---|---|
| VectorShapeData.typeInfo | TypeInformation |
Constructors
VectorShapeData
VectorShapeData()
Creates a new VectorShapeData frostbite instance.
VectorShapeData
VectorShapeData(guid: Guid)
Creates a new VectorShapeData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
VectorShapeData
VectorShapeData(other: BaseShapeData)
Casts an instance of type BaseShapeData to VectorShapeData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | BaseShapeData | The instance to cast to VectorShapeData. |
VectorShapeData
VectorShapeData(other: GameObjectData)
Casts an instance of type GameObjectData to VectorShapeData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to VectorShapeData. |
VectorShapeData
VectorShapeData(other: GameDataContainer)
Casts an instance of type GameDataContainer to VectorShapeData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to VectorShapeData. |
VectorShapeData
VectorShapeData(other: DataContainer)
Casts an instance of type DataContainer to VectorShapeData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to VectorShapeData. |
Properties
points
Vec3[]
normals
Vec3[]
tension
float
isClosed
bool
allowRoll
bool
Static members
typeInfo
The type information for the VectorShapeData type.