public void ApplyInstanceContants(InstanceObjectMesh instanceObjectMesh) { if (ApplyInstanceObjectMeshCallback != null) { ApplyInstanceObjectMeshCallback(this, instanceObjectMesh); } PositionConstant.Set(Position); SizeConstant.Set(Size); ColorConstant.Set(Color); }
public void ApplyInstanceContants(InstanceObjectMesh instanceObjectMesh) { if (ApplyInstanceObjectMeshCallback != null) { ApplyInstanceObjectMeshCallback(this, instanceObjectMesh); } PositionConstant.Set(Position); SizeConstant.Set(Size); TexelOffsetConstant.Set(TexelOffset); ColorConstant.Set(Color); FadeConstant.Set(Fade); Fade2Constant.Set(Fade2); MainTextureConstant.Set(MainTexture); MainTexture2Constant.Set(MainTexture2); MainTexture3Constant.Set(MainTexture3); }
public void ApplyInstanceContants(ObjectMesh objectMesh) { if (ApplyObjectMeshCallback != null) { ApplyObjectMeshCallback(this, objectMesh); } PositionConstant.Set(Position); SizeConstant.Set(Size); TexelOffsetConstant.Set(TexelOffset); ColorConstant.Set(Color); MainTextureConstant.Set(MainTexture); }
public void ApplyInstanceContants(InstanceObjectMesh instanceObjectMesh) { if (ApplyInstanceObjectMeshCallback != null) { ApplyInstanceObjectMeshCallback(this, instanceObjectMesh); } PositionConstant.Set(Position); SizeConstant.Set(Size); PositionUVConstant.Set(PositionUV); SizeUVConstant.Set(SizeUV); TexelOffsetConstant.Set(TexelOffset); ColorConstant.Set(Color); DiffuseTextureConstant.Set(DiffuseTexture); }
public void ApplyInstanceContants() { PositionConstant.Set(Position); SizeConstant.Set(Size); ColorConstant.Set(Color); }
public void ApplyInstanceContants() { PositionConstant.Set(Position); SizeConstant.Set(Size); TexelOffsetConstant.Set(TexelOffset); ColorConstant.Set(Color); FadeConstant.Set(Fade); Fade2Constant.Set(Fade2); MainTextureConstant.Set(MainTexture); MainTexture2Constant.Set(MainTexture2); MainTexture3Constant.Set(MainTexture3); }
public void ApplyInstanceContants() { PositionConstant.Set(Position); SizeConstant.Set(Size); PositionUVConstant.Set(PositionUV); SizeUVConstant.Set(SizeUV); TexelOffsetConstant.Set(TexelOffset); ColorConstant.Set(Color); DiffuseTextureConstant.Set(DiffuseTexture); }