Class Render
- Namespace
- AlphaFramework.World.Components
- Assembly
- AlphaFramework.World.dll
Controls how an EntityBase<TCoordinates, TTemplate> shall be rendered.
public abstract class Render : ICloneable
- Inheritance
-
objectRender
- Implements
- Derived
Properties
Shift
How this component is to be shifted before rendering.
public Vector3 Shift { get; set; }
Property Value
- Vector3
Methods
Clone()
Creates a deep copy of this instance.
public abstract Render Clone()
Returns
CloneFromTo(Render, Render)
Copies all members declared by Render from one instance to another.
protected static void CloneFromTo(Render from, Render to)
Parameters
ShouldSerializeShift()
Used for XML serialization.
public bool ShouldSerializeShift()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.