Class UnityObjectService
public sealed class UnityObjectService : LunyObjectServiceBase, ILunyObjectService, ILunyEngineService
Expand Details ...
- Inheritance
-
objectUnityObjectService
- Implements
Constructors
UnityObjectService()
public UnityObjectService()
Methods
Clone(ILunyObject, ILunyObject, LunyVector3?, LunyQuaternion?, LunyVector3?)
public override ILunyObject Clone(ILunyObject original, ILunyObject parent, LunyVector3? position, LunyQuaternion? rotation, LunyVector3? scale)
Parameters
| Type | Name | Description |
|---|---|---|
original |
||
parent |
||
position |
||
rotation |
||
scale |
Returns
CreateEmpty(string, ILunyObject, LunyVector3?, LunyQuaternion?, LunyVector3?)
public override ILunyObject CreateEmpty(string name, ILunyObject parent, LunyVector3? position, LunyQuaternion? rotation, LunyVector3? scale)
Parameters
| Type | Name | Description |
|---|---|---|
name |
||
parent |
||
position |
||
rotation |
||
scale |
Returns
CreateFromPrefab(ILunyPrefab, ILunyObject, LunyVector3?, LunyQuaternion?, LunyVector3?)
Creates a new object from a prefab bridge.
public override ILunyObject CreateFromPrefab(ILunyPrefab prefab, ILunyObject parent, LunyVector3? position, LunyQuaternion? rotation, LunyVector3? scale)
Parameters
| Type | Name | Description |
|---|---|---|
prefab |
||
parent |
||
position |
||
rotation |
||
scale |
Returns
CreatePrimitive(string, LunyPrimitiveType, ILunyObject, LunyVector3?, LunyQuaternion?, LunyVector3?)
public override ILunyObject CreatePrimitive(string name, LunyPrimitiveType type, ILunyObject parent, LunyVector3? position, LunyQuaternion? rotation, LunyVector3? scale)
Parameters
| Type | Name | Description |
|---|---|---|
name |
||
type |
||
parent |
||
position |
||
rotation |
||
scale |