Method Create
Create(String)
Create a runtime object
Declaration
RideID Create(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Display name |
Returns
Type | Description |
---|---|
RideID | The id of the object. Rideid.Null if creation failed |
Create(String, RideVector3, RideQuaternion)
Create a runtime object
Declaration
RideID Create(string name, RideVector3 position, RideQuaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Display name |
RideVector3 | position | The world position |
RideQuaternion | rotation | The world rotation |
Returns
Type | Description |
---|---|
RideID | The id of the object. RideID.Null if creation failed |
Create(String, RideVector3, RideQuaternion, CreationType)
Create a runtime object
Declaration
RideID Create(string name, RideVector3 position, RideQuaternion rotation, CreationType type)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The object to duplicate |
RideVector3 | position | The world position |
RideQuaternion | rotation | he world rotation |
CreationType | type | The creation method |
Returns
Type | Description |
---|---|
RideID |
Create(RideID, RideVector3, RideQuaternion)
Create a runtime object
Declaration
RideID Create(RideID original, RideVector3 position, RideQuaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
RideID | original | The object to duplicate |
RideVector3 | position | The world position |
RideQuaternion | rotation | The world rotation |
Returns
Type | Description |
---|---|
RideID | The id of the object. RideID.Null if creation failed |