![]() |
KudanAR - iOS
|
#import <ARMaterial.h>
Inheritance diagram for ARMaterial:
Collaboration diagram for ARMaterial:Instance Methods | |
| (void) | - postRender |
Properties | |
| NSString * | name |
| BOOL | isTranslucent |
| ARBlendMode | blendMode |
| BOOL | depthTest |
| BOOL | depthWrite |
| BOOL | colourWrite |
| ARFaceCullMode | cullMode |
A material represents how an object is shaded. This serves as a base class and shouldn't be created directly.
| - (void) postRender |
Method called after this material has been used to render an object. This can be useful for playable textures if you wish to check their updated state.
|
readwritenonatomicassign |
The blend mode to use with this material. If transparency is enabled, the ARBlendMode will control how the renderer blends the object it is drawing with the framebuffer, based on its alpha value.
|
readwritenonatomicassign |
Whether to write to the colour buffer. If NO, only depth information will be written. Default is YES.
|
readwritenonatomicassign |
The face culling mode. Default is ARFaceCullModeBack.
|
readwritenonatomicassign |
Whether pixels rendered with this material should be depth tested against existing pixels in the framebuffer. Default is YES.
|
readwritenonatomicassign |
Whether pixels rendered with this material should generate depth information in the framebuffer. Default is YES.
|
readwritenonatomicassign |
Whether this material involves transparency. Default is NO.
|
readwritenonatomicassign |
The material's name, this is automatically set during the model importer process.