Beispiel #1
0
 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);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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);
 }