Scol 5.x or above required
Set this to a material.
fun [S3d HMat3d I] I
Return : I 0 if success or nil if an error occurs