ShapeRenderer Methods |
The ShapeRenderer type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clone |
Clone this component.
(Inherited from ModelRenderer.) |
![]() | CollisionEnd |
Called when this physical body stop colliding with another body.
(Inherited from BaseComponent.) |
![]() | CollisionProcess |
Called while this physical body is colliding with another body.
(Inherited from BaseComponent.) |
![]() | CollisionStart |
Called when this physical body start colliding with another body.
(Inherited from BaseComponent.) |
![]() | Destroy |
Destroy this component.
(Inherited from BaseComponent.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | FixedUpdate |
Just like Update(), but called every constant amount of time regardless of FPS and Vsync.
(Inherited from BaseComponent.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetImplementedFrameBasedEvents |
Get a list of frame-based events this component implements.
(Inherited from BaseComponent.) |
![]() | GetMaterial |
Get material for a given mesh id and part index.
(Inherited from ModelRenderer.) |
![]() | GetMaterials |
Return a list with all materials in model.
Note: if alternative materials are set, will return them.
Note2: prevent duplications, eg if even if more than one part uses the same material it will only return it once.
(Inherited from ModelRenderer.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasMethodImplemented |
Return if this component has a method implemented.
(Inherited from BaseComponent.) |
![]() | Heartbeat |
An event that triggers every X miliseconds (defined per GameObject instance).
(Inherited from BaseComponent.) |
![]() | RemoveFromParent |
Remove this component from parent.
(Inherited from BaseComponent.) |
![]() | SendMessage |
Send message to this component.
(Inherited from BaseComponent.) |
![]() | SetMaterial |
Set alternative material for a specific mesh id.
(Inherited from ModelRenderer.) |
![]() | SetMaterials |
Set alternative materials for a specific mesh id.
(Inherited from ModelRenderer.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Update this component (called every frame parent is active).
(Inherited from BaseComponent.) |