(self,plug,dataBlock)
| 1123 | return OpenMayaMPx.asMPxPtr( SPHFluidNode() ) |
| 1124 | |
| 1125 | def compute(self,plug,dataBlock): |
| 1126 | # if ( plug == SPHFluidNode.output ): |
| 1127 | # dataHandle = dataBlock.inputValue( SPHFluidNode.input ) |
| 1128 | |
| 1129 | # inputFloat = dataHandle.asFloat() |
| 1130 | # result = math.sin( inputFloat ) * 10.0 |
| 1131 | # outputHandle = dataBlock.outputValue( SPHFluidNode.output ) |
| 1132 | # outputHandle.setFloat( result ) |
| 1133 | # dataBlock.setClean( plug ) |
| 1134 | |
| 1135 | return OpenMaya.kUnknownParameter |
| 1136 | |
| 1137 | ###################################################### |
| 1138 | # initParameters |
no outgoing calls
no test coverage detected