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