<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLMaterialProperty/init(name:semantic:matrix4x4:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLMaterialProperty(im)initWithName:semantic:matrix4x4:"
  },
  "title" : "init(name:semantic:matrix4x4:)"
}
-->

# init(name:semantic:matrix4x4:)

Initializes a material property with a 4 x 4 matrix value.

```
convenience init(name: String, semantic: MDLMaterialSemantic, matrix4x4 value: matrix_float4x4)
```

## Parameters

`name`

A descriptive name for the material property. For details, see the [`name`](/documentation/ModelIO/MDLMaterialProperty/name) property.

`semantic`

The semantic meaning for the material property’s value. For details, see the [`semantic`](/documentation/ModelIO/MDLMaterialProperty/semantic) property.

`value`

The 4 x 4 floating-point matrix value for the material property.

## Return Value

A new material property object whose [`type`](/documentation/ModelIO/MDLMaterialProperty/type) property is [`MDLMaterialPropertyType.matrix44`](/documentation/ModelIO/MDLMaterialPropertyType/matrix44).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)