Class LunyObjectServiceBase
public abstract class LunyObjectServiceBase : LunyEngineServiceBase, ILunyObjectService, ILunyEngineService
- Inheritance
-
objectLunyObjectServiceBase
- Implements
- Derived
- Inherited Members
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
originalILunyObjectparentILunyObjectpositionLunyVector3?rotationLunyQuaternion?scaleLunyVector3?
Returns
CreateEmpty(string, ILunyObject, LunyVector3?, LunyQuaternion?, LunyVector3?)
public abstract ILunyObject CreateEmpty(string name, ILunyObject parent, LunyVector3? position, LunyQuaternion? rotation, LunyVector3? scale)
Parameters
namestringparentILunyObjectpositionLunyVector3?rotationLunyQuaternion?scaleLunyVector3?
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
prefabILunyPrefabparentILunyObjectpositionLunyVector3?rotationLunyQuaternion?scaleLunyVector3?
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
namestringtypeLunyPrimitiveTypeparentILunyObjectpositionLunyVector3?rotationLunyQuaternion?scaleLunyVector3?