BillboardRenderer Constructor (Texture2D, Boolean) |
Create the billboard renderer component.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public BillboardRenderer(
Texture2D texture = null,
bool faceCamera = true
)
Parameters
- texture (Optional)
- Type: Texture2D
Texture to use for this sprite with a default material. - faceCamera (Optional)
- Type: SystemBoolean
If true, will always face camera. If false will use node's rotation.
See Also