Method | Description | |
---|---|---|
GetAdditiveColor ( int instanceId ) : System.Vector4 | ||
GetMultiplyColor ( int instanceId ) : System.Vector4 | ||
GetPosition ( int instanceId ) : System.Vector2 | ||
GetScale ( int instanceId ) : System.Vector2 | ||
InstancedSprite ( float width, float height ) : System | ||
InstancedSprite ( float width, float height, int instances ) : System | ||
SetAdditiveColor ( int instanceId, System.Vector4 color, bool noUpload = false ) : void | ||
SetMultiplyColor ( int instanceId, System.Vector4 color, bool noUpload = false ) : void | ||
SetPosition ( int instanceId, System.Vector2 position, bool noUpload = false ) : void | ||
SetScale ( int instanceId, System.Vector2 scale, bool noUpload = false ) : void | ||
UpdateAdditiveColors ( ) : void | ||
UpdateMultiplyColors ( ) : void | ||
UpdatePositions ( ) : void | ||
UpdateScales ( ) : void |
Method | Description | |
---|---|---|
SetupInstances ( ) : void |
public GetAdditiveColor ( int instanceId ) : System.Vector4 | ||
instanceId | int | |
return | System.Vector4 |
public GetMultiplyColor ( int instanceId ) : System.Vector4 | ||
instanceId | int | |
return | System.Vector4 |
public GetPosition ( int instanceId ) : System.Vector2 | ||
instanceId | int | |
return | System.Vector2 |
public GetScale ( int instanceId ) : System.Vector2 | ||
instanceId | int | |
return | System.Vector2 |
public InstancedSprite ( float width, float height ) : System | ||
width | float | |
height | float | |
return | System |
public InstancedSprite ( float width, float height, int instances ) : System | ||
width | float | |
height | float | |
instances | int | |
return | System |
public SetAdditiveColor ( int instanceId, System.Vector4 color, bool noUpload = false ) : void | ||
instanceId | int | |
color | System.Vector4 | |
noUpload | bool | |
return | void |
public SetMultiplyColor ( int instanceId, System.Vector4 color, bool noUpload = false ) : void | ||
instanceId | int | |
color | System.Vector4 | |
noUpload | bool | |
return | void |
public SetPosition ( int instanceId, System.Vector2 position, bool noUpload = false ) : void | ||
instanceId | int | |
position | System.Vector2 | |
noUpload | bool | |
return | void |
public SetScale ( int instanceId, System.Vector2 scale, bool noUpload = false ) : void | ||
instanceId | int | |
scale | System.Vector2 | |
noUpload | bool | |
return | void |