Class LunyObjectServiceBase
public abstract class LunyObjectServiceBase : LunyEngineServiceBase, ILunyObjectService, ILunyEngineService
Expand Details ...
- Inheritance
-
ObjectLunyObjectServiceBase
- Implements
- Derived
- Inherited Members
-
- LunyEngineServiceBase.OnServiceInitialize()
- LunyEngineServiceBase.OnServiceStartup()
- LunyEngineServiceBase.OnServiceShutdown()
- LunyEngineServiceBase.OnServiceFrameBegins()
- LunyEngineServiceBase.OnServiceHeartbeat()
- LunyEngineServiceBase.OnServiceFrameUpdate()
- LunyEngineServiceBase.OnServiceFrameLateUpdate()
- LunyEngineServiceBase.OnServiceFrameEnds()
Constructors
LunyObjectServiceBase()
protected LunyObjectServiceBase()
Methods
Clone(ILunyObject, ILunyObject, LunyVector3?, LunyQuaternion?, LunyVector3?)
public abstract 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 abstract 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 abstract 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 abstract ILunyObject CreatePrimitive(String name, LunyPrimitiveType type, ILunyObject parent, LunyVector3? position, LunyQuaternion? rotation, LunyVector3? scale)
Parameters
| Type | Name | Description |
|---|---|---|
name |
||
type |
||
parent |
||
position |
||
rotation |
||
scale |