UnityEngine.Material.INTERNAL_CALL_SetTextureOffset C# (CSharp) Method

INTERNAL_CALL_SetTextureOffset() private method

private INTERNAL_CALL_SetTextureOffset ( Material self, string propertyName, Vector2 &offset ) : void
self Material
propertyName string
offset Vector2
return void
        private static extern void INTERNAL_CALL_SetTextureOffset(Material self, string propertyName, ref Vector2 offset);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
 public void SetTextureOffset(string propertyName, Vector2 offset)
 {
     Material.INTERNAL_CALL_SetTextureOffset(this, propertyName, ref offset);
 }