| ASLHelperInstantiateASLObject Method (PrimitiveType, Vector3, Quaternion) |
Create an ASL Object
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static void InstantiateASLObject(
PrimitiveType _type,
Vector3 _position,
Quaternion _rotation
)
Public Shared Sub InstantiateASLObject (
_type As PrimitiveType,
_position As Vector3,
_rotation As Quaternion
)
public:
static void InstantiateASLObject(
PrimitiveType _type,
Vector3 _position,
Quaternion _rotation
)
static member InstantiateASLObject :
_type : PrimitiveType *
_position : Vector3 *
_rotation : Quaternion -> unit
Parameters
- _type
- Type: PrimitiveType
The primitive type to be instantiated - _position
- Type: Vector3
The position where the object will be instantiated - _rotation
- Type: Quaternion
The rotation orientation of the object to be instantiated
Examples void SomeFunction()
{
ASL.ASLHelper.InstantiateASLObject(PrimitiveType.Cube, new Vector3(0, 0, 0), Quaternion.identity);
}
See Also